"use strict";

/**
 * @ngdoc function
 * @name jgappApp.controller:ProjectRefundlist2Ctrl
 * @description
 * # ProjectRefundlist2Ctrl
 * Controller of the jgappApp
 */
angular
  .module("jgappApp")
  .controller("ProjectRefundlist2Ctrl", function(
    $scope,
    $routeParams,
    openApi,
    DataService
  ) {
    $scope.search = function() {
      $scope.data=[];
      var param = {};
      param.dataId = $routeParams.id;
      param.formKey = $routeParams.formKey;
      DataService.getData(openApi.projectRefund, param).then(function(data) {
        $scope.data = data;
      });
    };
    $scope.search();
  });
